/*******************************************************************
 *
 * Copyright (C), 2021-2022, LS, All rights reserved.
 *
 * Author      : 
 * Create Time : 2020-12-14
 * Version     : v0.1
 * Description : 
 *******************************************************************/

/*----------------------------Head file----------------------------*/
#include "string.h"
#include "app_global_data.h"

/*----------------------------macro file---------------------------*/

/*----------------------------type define--------------------------*/

/*----------------------------var define---------------------------*/
app_global_data_t g_app_data;

/*-------------------------func declarative------------------------*/

/*-----------------------------------------------------------------*/

void app_global_data_init(void)
{
    memset(&g_app_data, 0, sizeof(g_app_data));
    g_app_data.sys.mode = DEV_MODE_PWR_ON;
    g_app_data.tmp.cnt_down_start = START_SKIP_SECS_DFT_VAL;
    g_app_data.batt.disp_percent = BATT_DISP_PERCENT_UNVALID;
}

